package top.continew.admin.jobfair.model.req;

import java.io.Serial;
import java.time.LocalDateTime;

import jakarta.validation.constraints.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import org.hibernate.validator.constraints.Length;

import top.continew.starter.extension.crud.model.req.BaseReq;

/**
 * 创建或修改简历管理信息
 *
 * @author xiahaike
 * @since 2024/09/11 10:27
 */
@Data
@Schema(description = "创建或修改简历管理信息")
public class ResumeReq extends BaseReq {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 简历名称
     */
    @Schema(description = "简历名称")
    @NotBlank(message = "简历名称不能为空")
    @Length(max = 64, message = "简历名称长度不能超过 {max} 个字符")
    private String name;

    @Schema(description = "文件ID")
    @NotBlank(message = "文件ID不能为空")
    private Long fileId;

    @Schema(description = "学生ID名称")
    @NotBlank(message = "学生ID不能为空")
    private Long studentId;
}